﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace WindowsForms.AOnline.Report.Report
{
    public partial class FixedAssetCategoryReport : DevExpress.XtraReports.UI.XtraReport
    {
        public FixedAssetCategoryReport()
        {
            InitializeComponent();
            txtFixedAssetCategoryCode.DataBindings.Add("Text", DataSource, "FixedAssetCategoryCode");
            txtFixedAssetCategoryName.DataBindings.Add("Text", DataSource, "FixedAssetCategoryName");
            txtLifeTime.DataBindings.Add("Text", DataSource, "LifeTime");
            txtRate.DataBindings.Add("Text", DataSource, "DepreciationRate", "{0:f2}");
            GroupHeader1.GroupFields.Add(new GroupField("FixedAssetCategoryCode"));
        }

    }
}
